package cn.dckeji.dcssm.common.enums;

/**
 * @author kenny
 * @Title: ProjectEnum
 * @ProjectName dcssm
 * @Description: 项目常量
 * @date 2019/2/25 10:35
 */
public enum ProjectEnum {

    /* 顶级菜单pid */
    MENU_PID_DEFAULT(-1, "顶级菜单pid"),

    /* 错误日志标志已查看 */
    ERRORLOG_ISVIEW(1, "已查看");

    private Integer code;

    private String message;

    ProjectEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer code() {
        return this.code;
    }

    public String message() {
        return this.message;
    }
    @Override
    public String toString() {
        return this.name();
    }
}
